﻿using System;
using System.Windows.Forms;

namespace Moonlite.UI.Shell.Controls
{
    public partial class ExtractingProgressDialog : Form
    {
        private object sync = new object();
        public static ExtractingProgressDialog Show(string file, string source)
        {
            ExtractingProgressDialog dialog = new ExtractingProgressDialog();
            dialog.extracting.Text = string.Format("Extracting file '{0}' from archive '{1}'.", file, source);
            dialog.Show();
            return dialog;
        }

        protected ExtractingProgressDialog()
        {
            InitializeComponent();
        }
    }
}
